package com.example.block_chain.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("student")
public class Student {

    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField("s_no")
    private String sNo;

    @TableField("s_name")
    private String sName;

    @TableField("s_password")
    private String sPassword;

    @TableField("s_ID")
    private String sID;

    @TableField("a_no")
    private String aNo;

    @TableField("class_code")
    private String classCode;

    @TableField("major_code")
    private String majorCode;

    @TableField("faculty_code")
    private String facultyCode;

    @TableField("school_code")
    private String schoolCode;

    @TableField("s_grade")
    private String sGrade;

    @TableField("s_sex")
    private String sSex;

}
